package com.artpri.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * GoodsConsultR entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "goods_consult_r", catalog = "jpw")
public class GoodsConsultR implements java.io.Serializable {

	// Fields

	private Integer gcrId;
	private Integer gcId;
	private String gcrName;
	private String gcrTime;
	private String gcrContent;

	// Constructors

	/** default constructor */
	public GoodsConsultR() {
	}

	/** minimal constructor */
	public GoodsConsultR(Integer gcId, String gcrName, String gcrTime) {
		this.gcId = gcId;
		this.gcrName = gcrName;
		this.gcrTime = gcrTime;
	}

	/** full constructor */
	public GoodsConsultR(Integer gcId, String gcrName, String gcrTime,
			String gcrContent) {
		this.gcId = gcId;
		this.gcrName = gcrName;
		this.gcrTime = gcrTime;
		this.gcrContent = gcrContent;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "gcr_id", unique = true, nullable = false)
	public Integer getGcrId() {
		return this.gcrId;
	}

	public void setGcrId(Integer gcrId) {
		this.gcrId = gcrId;
	}

	@Column(name = "gc_id", nullable = false)
	public Integer getGcId() {
		return this.gcId;
	}

	public void setGcId(Integer gcId) {
		this.gcId = gcId;
	}

	@Column(name = "gcr_name", nullable = false, length = 60)
	public String getGcrName() {
		return this.gcrName;
	}

	public void setGcrName(String gcrName) {
		this.gcrName = gcrName;
	}

	@Column(name = "gcr_time", nullable = false, length = 20)
	public String getGcrTime() {
		return this.gcrTime;
	}

	public void setGcrTime(String gcrTime) {
		this.gcrTime = gcrTime;
	}

	@Column(name = "gcr_content", length = 220)
	public String getGcrContent() {
		return this.gcrContent;
	}

	public void setGcrContent(String gcrContent) {
		this.gcrContent = gcrContent;
	}

}